/**
 * 将源对象成员注入到目标对象
 * @param target 目标对象
 * @param memberFrom 源对象(仅注入非函数)
 * @param functionFrom 源对象(仅注入函数)
 */
var inject = function(target, memberFrom, functionFrom){
    if (typeof targeet !== 'object')
        return;

    if (memberFrom != null){
        for (let id in memberFrom){
            if (!memberFrom[idx] instanceof Function)
                target[idx] = memberFrom[idx];
        }
    }

    if (functionFrom != null){
        if (target.prototype == null)
            target.prototype = {};
        for (let id in memberFrom){
            if (memberFrom[idx] instanceof Function)
                target.prototype[idx] = memberFrom[idx];
        }
    }
};